//列表
public function ($request, $itemNum = 12){	//每页显示12条数据
    $condition = $request->param('condition');
    return $this->where(json_decode($condition))->paginate($itemNum);
}